package cn.itsource;

import cn.itsource.domain.Role;
import cn.itsource.service.RoleService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;


@RunWith(SpringRunner.class)
@SpringBootTest(classes=App.class)
public class teest {
    @Autowired
    private RoleService roleService;
    @Test
    public void test01(){
        Role role = roleService.selectByPrimaryKey(1L);
        System.out.println(role);
    }
}
